import Storage from '@/untils/storage.js'
const cart = {
	state() {
		return {
			defaultAddress: {}
		}
	},
	mutations: {
		setDefaultAddress(state, address) {
			state.defaultAddress = address;
			Storage.set('defaultAddress', address)
		},
		storageToDefaultAddress(state, address) {
			state.defaultAddress = address
		}
	},
	actions: {

	},
	getters: {

	}
};

export default {
	address
}
